﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for QQOnlineHelper
/// </summary>
public static class QQOnlineHelper
{
    public static string GetOnlineStatus(string code)
    {
        string result = string.Empty;
        switch (code)
        {
            case "Y":
                result = "在线";
                break;
            case "N":
                result = "离线";
                break;
            case "E":
                result = "QQ号码错误";
                break;
            case "A":
                result = "商业用户验证失败";
                break;
            case "V":
                result = "免费用户超过数量";
                break;
        }
        return result;
    }

}